package top.hcode.hoj.pojo.dto;

import lombok.Data;
import lombok.NonNull;
import top.hcode.hoj.pojo.entity.course.QuestionOption;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author orangej
 * @since 2024/12/24
 */
@Data
public class SaveQuestionOptionDTO {
    @NonNull
    private Long questionId;

    @NotEmpty
    private List<QuestionOption> options;    // optionNum, content, isAnswer
}
